Skip to content

pagefind-bin: add build-pagefind-bin.yml for riscv64 wheels - #1636

Merged
luhenry merged 1 commit into
mainfrom
pagefind-bin
Sep 9, 2026
Merged

pagefind-bin: add build-pagefind-bin.yml for riscv64 wheels#1636
luhenry merged 1 commit into
mainfrom
pagefind-bin

Conversation

@luhenry

@luhenry luhenry commented Sep 8, 2026

Copy link
Copy Markdown
Member

Compiles the pagefind static-site-search CLI and repackages it as a pagefind_bin wheel using upstream's own binary_only_wheel.py. Upstream publishes no riscv64 wheel.

Mirrors upstream's release.yml: builds the WASM/JS/UI vendor assets on a standard runner, then compiles the CLI and packages it.

Differs from upstream

  • Not maturin bindings = "bin": the pagefind API package's get_executable() needs upstream's real pagefind_bin/pagefind layout, which maturin's .data/scripts/ layout doesn't produce.
  • Rust toolchain installed inside manylinux_2_39_riscv64 via rustup rather than upstream's pinned CI runner image.
  • No musl target: rustup ships no riscv64 musl toolchain, so this builds glibc-only, unlike upstream's musl release binaries.

Testing

  • No wheel-level test suite ships. Drives a real indexing run against a fixture HTML page and checks the emitted pagefind.js/pagefind-entry.json.

License: OK - MIT, nothing third-party vendored.

luhenry added a commit that referenced this pull request Sep 8, 2026
@luhenry
luhenry merged commit b4539c7 into main Sep 9, 2026
11 checks passed
@luhenry
luhenry deleted the pagefind-bin branch September 9, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant